<div id="element">
    <div class="ban">Login</div>
    <div class="box">
        <?php echo form_open('main/login'); ?>
        <label>User Id </label><input class="" type="text" name="userid" maxlength="100" size="50" style="width:50%"/></td></tr>
        <label>Password</label><input class="" type="password" name="password" maxlength="100" size="50" style="width:50%"/>
        <?php echo form_submit('submit', 'login'); ?>
        <?php echo form_close(); ?>
    </div>
</div>